import request from '@/utils/request'
// 代理商产品begin
export function getDistributorProductList() {
	return request({
		url: '/product/distribution/getDistributorProductList',
		method: 'get'
	})
}

export function getDistributorProductDetail(params) {
	return request({
		url: '/product/distributorProductDetail',
		method: 'get',
		params: params
	})
}

// 下单
export function generateOrder(params) {
	return request({
		url: '/product/distribution/generatorOrder',
		method: 'post',
		data: params
	})
}

